package com.example.shengyin.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

//@Repository
@Configuration
@ConfigurationProperties(prefix = "event-config")
public class EventConfig {

    private String[] stypes;

    private String[] addr;
    public String[] getStypes() {
        return stypes;
    }

    public void setStypes(String[] stypes) {
        this.stypes = stypes;
    }

    public String[] getAddr() {
        return addr;
    }

    public void setAddr(String[] addr) {
        this.addr = addr;
    }


}
